using SqlSugar;
using System.Collections.Generic;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 文章类别表
    /// </summary>
    public class dt_article_category
    {
        /// <summary>
        /// 文章类别表
        /// </summary>
        public dt_article_category()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 站点ID
        /// </summary>
        public System.Int32? site_id { get; set; }

        /// <summary>
        /// 频道ID
        /// </summary>
        public System.Int32 channel_id { get; set; }

        /// <summary>
        /// 类别标题
        /// </summary>
        public System.String title { get; set; }

        /// <summary>
        /// 调用别名
        /// </summary>
        public System.String call_index { get; set; }

        /// <summary>
        /// 父类别ID
        /// </summary>
        public System.Int32? parent_id { get; set; }

        /// <summary>
        /// 类别ID列表(逗号分隔开)
        /// </summary>
        public System.String class_list { get; set; }

        /// <summary>
        /// 类别深度
        /// </summary>
        public System.Int32? class_layer { get; set; }

        /// <summary>
        /// 排序数字
        /// </summary>
        public System.Int32? sort_id { get; set; }

        /// <summary>
        /// URL跳转地址
        /// </summary>
        public System.String link_url { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public System.String img_url { get; set; }

        /// <summary>
        /// 备注说明
        /// </summary>
        public System.String content { get; set; }

        /// <summary>
        /// SEO标题
        /// </summary>
        public System.String seo_title { get; set; }

        /// <summary>
        /// SEO关健字
        /// </summary>
        public System.String seo_keywords { get; set; }

        /// <summary>
        /// SEO描述
        /// </summary>
        public System.String seo_description { get; set; }

        /// <summary>
        /// 状态0正常1禁用
        /// </summary>
        public System.Int32? is_lock { get; set; }

        [SugarColumn(IsIgnore = true)]
        public List<Entitys.dt_article_category_spec> category_specs { get; set; }
    }
}